package com.unusap.remote.core.util;

import com.unusap.remote.core.codec.Des3Encoder;

/**
 * Created by IntelliJ IDEA.
 * User: danson
 * Date: 2009-8-21
 * Time: 11:01:50
 * To change this template use File | Settings | File Templates.
 */
public abstract class EncryptUtils {

    public static String enc3des(String string, String key) {
        return Des3Encoder.INSTANCE.encrypt(string, key);
    }

    public static String dec3des(String string, String key) {
        return Des3Encoder.INSTANCE.decrypt(string, key);
    }

}
